package daobeauty.dao;

import org.hibernate.Session;
import org.hibernate.SessionFactory;

/**
 * This helper interface can be used for delegates. If any delegate implements this interface,
 * the MethodInterceptor will set the SessionFactory to the delegate.
 *  
 * Created 09.09.2008
 * @author M. Serhat Cinar
 *
 */
public interface SessionFactoryAware {
	public void setSessionFactory(SessionFactory sessionFactory);
	public SessionFactory getSessionFactory();
	public Session getCurrentSession();
}
